<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="static/plugins/bootstrap/bootstrap.css" rel="stylesheet">
<link href="static/plugins/jquery-ui/jquery-ui.min.css" rel="stylesheet">
<link
	href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"
	rel="stylesheet">
<link href="static/plugins/fancybox/jquery.fancybox.css"
	rel="stylesheet">
<link href="static/plugins/fullcalendar/fullcalendar.css"
	rel="stylesheet">
<link href="static/plugins/xcharts/xcharts.min.css" rel="stylesheet">
<link href="static/plugins/select2/select2.css" rel="stylesheet">
<link href="static/css/style.css" rel="stylesheet">
<title>Insert title here</title>
<script src="static/plugins/jquery/jquery.js"></script>
<script src="static/plugins/jquery-ui/jquery-ui.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="static/plugins/bootstrap/bootstrap.min.js"></script>
<script
	src="static/plugins/justified-gallery/jquery.justifiedgallery.min.js"></script>
<script src="static/plugins/tinymce/tinymce.min.js"></script>
<script src="static/plugins/tinymce/jquery.tinymce.min.js"></script>
<script type="text/javascript" src="static/plugins/jquery-validation-1.9.0/jquery.validate.min.js"></script>
<script type="text/javascript" src="static/plugins/jquery-validation-1.9.0/jquery.validate.js"></script>
<!-- All functions for this theme + document.ready processing -->
<script src="static/js/devoops.js"></script>
<script type="text/javascript">
	$(function() {
		$("#formset").validate({
			rules:{
				nr:{required:true},
				password:{required:true}
			},
			messages:{
			nr:{required:"请填写用户名！"},
			password:{required:"请填写密码！"}
			}
		});
	})
</script>
</head>
<body>
	<div class="container-fluid">
		<div id="page-login" class="row">
			<div
				class="col-xs-12 col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3">
				<div class="text-right">
					<a href="#" class="txt-default">新用户请联系管理员！</a>
				</div>
				<div class="box">
					<form action="check-login" method="post" id="formset">
						<div class="box-content">
							<div class="text-center">
								<h3 class="page-header">OA系统登录</h3>
							</div>
							<div class="form-group">
								<label class="control-label">登录名</label> <input type="text"
									class="form-control" name="nr" id="nr">
							</div>
							<div class="form-group">
								<label class="control-label">密码</label> <input type="password"
									class="form-control" name="password" id="password">
							</div>
							<label class="control-label" style="color:red">${messages}</label>
							<div class="text-center">
								<input type="submit" class="btn btn-primary" id="btn-check"
									value="登录" />
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>